package org.example.campsys.model;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class CourseInfo {
    private Integer id;
    private String courseName;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createdTime;
    private String status;//课程状态 0表示已创建，1表示已开放 ，2表示结束关闭
    private Integer activityId;
    private String teacherId;
    private Integer classId;
}
